package cn.driver.car.service;

import cn.driver.common.pojo.Car;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CarService {
    List<Car> getCarList();

    int addCar(Car car);

    int updateCar(Car car);

    int deleteCar(String carNo);

    List<Car> getList(int pageNum, int pageSize);

    List<Car> mohuList( String carNo);


}
